package demo6.demo1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Text {
    public static void main(String[] args) {
      //  String u="Springfonig.xml";
        ApplicationContext a = new ClassPathXmlApplicationContext("Springfonig.xml");
        PP bean = a.getBean(PP.class);
        bean.Kk();
        bean.ref1();

    }
}
